{% extends 'base_account.html' %}

{% load account %}
{% load i18n %}

{% block head_title %}Password Reset{% endblock head_title %}
{% block page_title %}Password Reset{% endblock page_title %}

{% block content %}
{% if user.is_authenticated %}
    {% include "account/snippets/already_logged_in.html" %}
{% endif %}
<p>{% trans "Forgot your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}</p>
<div class="row">

    <div class="col-md-6">
        <form method="POST" action="" class="password_reset">
            {% csrf_token %}
            <div class="form-group">
                {{password_reset_form.as_p}}
            </div>
            <input class="btn btn-primary margin-top" type="submit" value="{% trans "Reset My Password" %}" />
        </form>
    </div>
</div>
{% endblock %}
